package yunquan.wang.modules.customer.entity;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import yunquan.wang.base.domain.AuditableEntity;
@Entity
@Table(name = "C_RELATIONCONTACT")
public class RelationContact   extends AuditableEntity {
	@ManyToOne
	@JoinColumn(name = "PK_CONTACTSINFO")
    private	ContactsInfo contactsInfo;
	 private String relationType;
	 
	 private String name;
	 
	 private String contactinfo;
	 
	 private Boolean sex;

	public String getRelationType() {
		return relationType;
	}

	public ContactsInfo getContactsInfo() {
		return contactsInfo;
	}

	public void setContactsInfo(ContactsInfo contactsInfo) {
		this.contactsInfo = contactsInfo;
	}

	public void setRelationType(String relationType) {
		this.relationType = relationType;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContactinfo() {
		return contactinfo;
	}

	public void setContactinfo(String contactinfo) {
		this.contactinfo = contactinfo;
	}

	public Boolean getSex() {
		return sex;
	}

	public void setSex(Boolean sex) {
		this.sex = sex;
	}
	 
	 
}
